<%@ page language="java" import="java.util.*,com.entity.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%>

<%    
response.setContentType("application/xls");    
response.setHeader("Content-Disposition", "inline; filename=\"test.xls\"");    
%> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">

  <head>
   	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
	<meta http-equiv="description" content="This is my page"/>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css"/>
	-->
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script src="js/sorttable.js"></script>
<script src="js/main.js"></script>
<script src="js/qy.js"></script>
  </head>
   
  <body>
<div style="display: none;" id="PageHeader" class="PageHeader"></div>
<table border="0" width="100%">
  <tr>
     <td align="left">填表单位(盖章):</td>
     <td width="20%"></td>
     <td align="left">负责人签字：</td>
     <td width="20%"></td>
     <td align="center">填表时间：</td>
     <td width="20%" align="center">&nbsp;&nbsp;年&nbsp;&nbsp;月&nbsp;&nbsp;日</td>
  </tr>
</table>
<table class="TableTop" width="100%">
  <tbody><tr>
      <td class="left"></td>
      <td class="center subject">专业技术岗位首聘人员情况登记统计 </td>
      <td class="right"></td>
   </tr>
</tbody></table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="sortable TableBlock no-top-border">
<thead>
  <tr class="title_text">
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  1, true);" rowspan="2">编号</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">姓名</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">性别</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">出生年月</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">参加工作日期</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">现专业技术职务</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">原聘专业技术职务</td>
	 <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" colspan="4">现聘用岗位情况</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">备注</td>
    </tr>
    <tr>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">岗位名称</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">岗位等级</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">岗位档次</td>
    <td align="center" class="TableData" onClick="this.blur(); return sortTable('offTblBdy',  2, true);" rowspan="2">聘期时间</td>
    </tr>
  </thead>
  <TBODY >
  <c:forEach var="l" items="${rydjList}">
  <tr>
    <td align="center" class="TableData">${l.bh}</td>
    <td align="center" class="TableData">${l.xm}</td>
    <td align="center" class="TableData">${l.xb}</td>
    <td align="center" class="TableData">${l.csrqString}</td>
    <td align="center" class="TableData">${l.cjgzrqString}</td>
    <td align="center" class="TableData">${l.zdByZcbh.typename}</td>
    <td align="center" class="TableData">${l.zdByZcbh.typename}</td>
    <td align="center" class="TableData">${l.zdByZcbh.typename}</td>
    <td align="center" class="TableData">
      <c:if test="${l.gwdj=='二级'}">正高级</c:if>
      <c:if test="${l.gwdj=='三级'}">正高级</c:if>
      <c:if test="${l.gwdj=='四级'}">正高级</c:if>
      <c:if test="${l.gwdj=='五级'}">副高级</c:if>
      <c:if test="${l.gwdj=='六级'}">副高级</c:if>
      <c:if test="${l.gwdj=='七级'}">副高级</c:if>
      <c:if test="${l.gwdj=='八级'}">中级</c:if>
      <c:if test="${l.gwdj=='九级'}">中级</c:if>
      <c:if test="${l.gwdj=='十级'}">中级</c:if>
      <c:if test="${l.gwdj=='十一级'}">初级</c:if>
      <c:if test="${l.gwdj=='十二级'}">初级</c:if>
      <c:if test="${l.gwdj=='十三级'}">初级</c:if>
    </td>
    <td align="center" class="TableData">${l.gwdj}</td>
    <td align="center" class="TableData">${l.htqxString}-${l.htqx2String }</td>
    <td align="center" class="TableData">${l.bz}</td>
    </tr>
  </c:forEach>
    
  </TBODY>
</table>
  
  </body>
</html>